package com.mk.service;

import com.mk.base.service.IBaseService;
import com.mk.model.entity.RoleDirW;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 3:23 PM 3/21/18
 */
public interface IRoleDirWService extends IBaseService<RoleDirW> {

    RoleDirW save(Long roleId,Long wDir);

    boolean deleteByDir(Long dirId);

    boolean changeRoleWDir(Long roleId, List<Long> aLong);

    List<Long> findByRoleId(Long roleId);

    RoleDirW findByDir(Long roleId,Long wDir);
}
